package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Travel;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by 甘静斌 on 2020-08-07 13:35
 */

/**
 *
 * 旅游日记持久化操作接口
 */
public interface TravelRepository extends MongoRepository<Travel,String> {


    List<Travel> findByDestId(String destId, Pageable pageable);
}
